body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: rgb(255, 255, 255,0.40);
    overflow: hidden;
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand img {
    height: 40px;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.navbar a:hover {
    color: #2758a1;
}

.menu li {
    display: inline-block;
    margin-right: 40px;
}

.menu li:last-child {
    margin-right: 0;
}

.menu a {   
    text-decoration: none;
    color: #2758a1;
}

.menu_social img {
    height: 30px;
    margin-left: 2px;
}

#apresentação {
    background-image: url("https://mazul.com.br/assets/images/bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0;
    min-height: 100vh;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.topic {
    margin-bottom: 30px;
}

.topic #titulo {
    font-size: 24px;
    color: #333;
}

.pre-form {
    font-size: 16px;
    color: #58595b;
}

.form {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 750px;
    margin: 0 auto;
}

.sub {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}


    .footer {
        background-color: #333; 
        color: white;
        padding: 10px;
        text-align: center;
        font-family: Arial, sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 50px;
    }


    .copyrigth_text {
        text-align: justify;
        width: 100%;
    }
    

.explain{
    text-align: justify;
    width: 100%;
    color:#000000;
    font-size: 16px;
}

.titulo{
    text-align: center;
    width: 100%;
    color:#2758a1;
}

.title{
    text-align: center;
    width: 100%;
    color:#000000;
    font-size: 18px;
    font-weight: bold;

}

.terms{
    text-align: justify;
    width: 100%;
    color:#58595b;
    font-size: 10px;
}

.obs{
    text-align: justify;
    width: 100%;
    color:#000000;
    font-size: 16px;
}

.formulario {
    border-radius: 8px;
    padding: 20px;
    max-width: 580px;
    margin: 0 auto;
}


.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario select{
    background: #FAFAFC;
    width: 100%;
    padding: 0 24px;
    margin: 6px 0;
    border: 1px solid #E6E6F0;
    border-radius: 8px;
    box-sizing: border-box;
    line-height: 26px;
    font-size: 14px;
    height: 56px;
}

.formulario textarea{
    background: #FAFAFC;
    width: 100%;
    padding: 0 24px;
    margin: 6px 0;
    border: 1px solid #E6E6F0;
    border-radius: 8px;
    box-sizing: border-box;
    line-height: 26px;
    font-size: 14px;
    height: 200px;
}

.formulario input[type="submit"] {
    background-color: #2758a1;
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.formulario input[type="submit"]:hover {
    background-color: #2758a17e;
}

.form-controls {
    text-align: center;
}

.formulario select,
.formulario textarea {
    resize: vertical;
}

.formulario input[type="tel"]:hover {
    border: 2px solid #2758a1;
}

.formulario input[type="email"]:hover {
    border: 2px solid #2758a1;
}

.formulario input[type="text"]:hover {
    border: 2px solid #2758a1;
}

.formulario select:hover{
    border: 2px solid #2758a1;
}

.formulario textarea:hover{
    border: 2px solid #2758a1;
}


@media only screen and (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .menu li {
        margin: 10px 0;
    }

    .menu li:last-child {
        margin-bottom: 0;
    }

    .navbar-brand img {
        height: 30px;
    }

    #apresentação {
        padding: 30px 0;
    }

    .content {
        padding: 0 10px;
    }

    .form {
        max-width: 100%;
    }

    .footer {
        padding: 20px;
    }

    .copyrigth_text {
        text-align: center;
    }
}

@media only screen and (min-width: 769px) {
    .navbar {
        padding: 20px 0; 
    }

    .navbar .container {
        padding: 0 20px;
    }

    .navbar a:hover {
        color: initial;
    }

    .menu li {
        margin-right: 20px;
    }

    .menu_social img {
        height: 25px;
    }

    .topic #titulo {
        font-size: 28px;
    }

    .form {
        padding: 30px;
    }
    .opcao {
        display: flex;
        justify-content: center;
        margin: 20px;
    }
    
    .quadrado1:hover {
        background-color: rgb(241, 137, 57);
        color: white;
    }
    .quadrado1.active {
        border-color: #ff6200;
        background-color: #ff6200;
    }

    .quadrado2:hover {
        background-color: rgb(241, 137, 57);
        color: white;
    }
    .quadrado2.active {
        border-color: #ff6200;
        background-color: #ff6200;
    }

    .botao-container {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .quadrado1, .quadrado2 {
        width: 150px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0;
        cursor: pointer;
        transition: all 0.3s ease;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        background-color: rgba(255, 255, 255, 0.5);
        color: black;
    }
    
    .small {
        transform: scale(0.8);
        transition: transform 0.3s ease;
        top: 100%;
        left: 100;
        right: 0;
        height: 100%;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    
    .active {
        background-color: #ff6200;
        color: white;
    }
    .observacao {
        display: none;
    }
    .loader {
        border: 16px solid #f3f3f3; 
        border-top: 16px solid #3498db; 
        border-radius: 50%;
        width: 120px;
        height: 120px;
        animation: spin 2s linear infinite;
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -60px;
        margin-left: -60px;
        z-index: 9999;
        display: none; 
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}
